Skip to main content

Embedding Banners

You can embed a Nudge Banner widget in your application. This widget can then be populated with UI that you create on the Nudge Dashboard.


<com.nudgenow.nudgecorev2.experiences.appcomponent.core.NudgeAppComponent
android:layout_width="match_parent"
android:layout_gravity="center_horizontal"
android:background="@color/white"
android:tag="{YOUR_VIEW_TAG}"
android:layout_height="wrap_content"/>
warning

Make sure you add a view tag